package com.hyacinth.forumbite.dao;

import com.hyacinth.forumbite.model.User;

public interface UserMapper {
    int insert(User row);

    int insertSelective(User row);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User row);

    int updateByPrimaryKey(User row);

    User selectByUserName(String username);

    int updateUserAvatarUrl(String avatarUrl, Long id);
}